package com.qys.livesMall.app.user.model.dto.sys;

import com.qys.livesMall.app.user.model.enums.UserBalanceLogTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/04/25
 * Time: 10:16
 * DESCRIPTION: 用户余额变动记录日志
 */
@Data
public class UserBalanceChangeLogDTO implements Serializable {
    static final long serialVersionUID = 42L;

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "修改金额")
    private BigDecimal changeAmount;

    @Schema(description = "原来金额")
    private BigDecimal oldAmount;

    @Schema(description = "修改类型")
    private UserBalanceLogTypeEnum userBalanceLogTypeEnum;

    @Schema(description = "id")
    private String id;

    @Schema(description = "操作人")
    private String operator;
}
